<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/jquery-3.6.0.js"></script>
    <script src="./js/todolist.js"></script>
</head>
<style>
    * {
        padding: 0;
        margin: 0;
        background-color: #CDCDCD;
    }

    #top {
        height: 50px;
        background-color: #323232;
        line-height: 50px;
        text-align: center;
    }

    label {
        background-color: #323232;
        color: #DDDDDD;
        font-size: 23px;
        cursor: pointer;
    }

    #title {
        background-color: #FFFFFF;
        border-radius: 5px;
        width: 350px;
        height: 26px;
        font-size: 13px;
        /* margin-bottom:10px; */
        position: relative;
        bottom: 4px;
        margin-left: 140px;
        border: none;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45) inset;
        outline: none;

    }

    #title::placeholder {
        position: relative;
        left: 8px;
    }

    h2 {
        margin: 20px 0 20px 470px;
    }

    span {
        width: 50px;
        height: 50px;
        background-color: #E6E6FA;
        margin-left: 465px;
        border-radius: 50%;
        font-size: 14px;
        padding: 0 5px;
        position: relative;
        bottom: 5px;
        opacity: 0.6;

    }

    ul {
        padding: 0;
        list-style: none;
    }

    li {
        line-height: 32px;
        border-radius: 3px;
        border-left: 5px solid #629A9C;
        margin: 8px auto;
        position: relative;
        height: 32px;
        width: 570px;
        background-color: white;
    }

    li input {
        position: absolute;
        top: 5px;
        left: 10px;
        width: 22px;
        height: 22px;
        cursor: pointer;
    }

    p {
        float: left;
        position: relative;
        left: 40px;
        background-color: white;
    }

    li a {
        position: absolute;
        top: 4px;
        right: 5px;
        display: inline-block;
        width: 14px;
        height: 12px;
        border-radius: 14px;
        border: 6px double #FFF;
        background: #CCC;
        line-height: 14px;
        text-align: center;
        color: #FFF;
        font-weight: bold;
        font-size: 14px;
        cursor: pointer;
    }

    #second_ul li {
        border-left: 5px solid #666;
        opacity: 0.5;
    }

    footer {
        /* padding:150px 0 0 0 ; */
        text-align: center;
        color: #666;

    }

    footer a {
        text-decoration: none;
        color: #999;
    }
</style>

<body>
    <div id='top'>
        <label>ToDoList</label>
        <input type="text" id="title" name="title" placeholder="添加ToDo">
    </div>
    <h2>正在进行
        <span id="doing" >0</span>
    </h2>
    <ul id="first_ul"></ul>
    <h2>已经完成
        <span id="finished">0</span>
    </h2>
    <ul id="second_ul"></ul>
    <footer>
        Copyright © 2021 todolist.cn <a href="#" id="clear">clear</a>
    </footer>

</body>

</html>